//
//  MenuView.h
//  MindBox
//
//  Created by MS on 16-1-12.
//  Copyright (c) 2016年 Lemon. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MenuView;
@protocol MenuViewDelegate <NSObject>
/**
 *  菜单栏代理
 *  @param index    点击的位置
 *  @param sortType 当index=1时排序方式,返回NO升序，YES降序
 */
-(void)menuViewDidClick:(MenuView *)menuView index:(NSInteger)index type:(BOOL)sortType;

@end

@interface MenuView : UIView
/**
 *  筛选按钮
 */
@property (nonatomic,strong) UIButton * speBtn;
@property (nonatomic,strong) UIButton * selBtn;
@property(nonatomic,strong) NSArray * titleArray;
@property (nonatomic,weak) id<MenuViewDelegate>delegate;
@end
